<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>美兰数据文化馆与图书馆</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/huazhi/lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/huazhi/css/public.css" media="all">
    <link rel="shortcut icon" href="<%=request.getContextPath()%>/huazhi/images/favicon.ico"/>
</head>
<style>
    /* 重置轮播样式 */
    .layadmin-carousel {
        height: 185px !important;
        background-color: #fff;
    }

    .layadmin-carousel .layui-carousel-ind li {
        background-color: #e2e2e2;
    }

    .layadmin-carousel .layui-carousel-ind li:hover {
        background-color: #c2c2c2;
    }

    .layadmin-carousel .layui-carousel-ind li.layui-this {
        background-color: #999;
    }

    .layadmin-carousel .layui-carousel,
    .layadmin-carousel > *[carousel-item] > * {
        background-color: #fff;
    }

    .layadmin-carousel .layui-col-space10 {
        margin: 0;
    }

    .layadmin-carousel .layui-carousel-ind {
        position: absolute;
        top: -41px;
        text-align: right;
    }

    .layadmin-carousel .layui-carousel-ind ul {
        background: none;
    }

    .layadmin-backlog .layadmin-backlog-body {
        display: block;
        padding: 10px 15px;
        background-color: #f8f8f8;
        color: #999;
        border-radius: 2px;
        transition: all .3s;
        -webkit-transition: all .3s;
    }

    .layadmin-backlog-body h3 {
        padding-bottom: 10px;
        font-size: 12px;
    }

    .layadmin-backlog-body p cite {
        font-style: normal;
        font-size: 30px;
        font-weight: 300;
        color: #009688;
    }

    .layadmin-backlog-body:hover {
        background-color: #f2f2f2;
        color: #888;
    }

    .divhtml {
        line-height: 20px;
        padding: 9px 0px;
        text-align: left;
        position: relative;
        display: block;
        float: left;
        font-weight: 400;
    }

    .layui-form-label {
        width: 180px;
    }

    .layui-input-block {
        margin-left: 210px;
    }
</style>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body" style="padding: 0px;">
            <form class="layui-form" lay-filter="component-form-element">
                <div class="layui-tab layui-tab-card">
                    <ul class="layui-tab-title">
                        <li class="layui-this">基本信息</li>
                    </ul>
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show">
                            <div class="layui-row" >
                                <div class="layui-col-md3"
                                     style="padding: 0px;border: 1px solid #f2f2f2;padding: 10px;">
                                    <div class="layui-carousel" id="test10" lay-filter="test1">
                                        <div carousel-item="" id="images">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-md9" style="padding-top:0px;">
                                    <div class="layui-col-md4" style="padding-bottom:0px;">
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">序号: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="serialnumer">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">站内编号: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="stationnumber">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">资产编号: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="assetnumber">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">仪器设备名称: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="equipmentname">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">规格型号: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="model">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">主要技术指标: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="technicalindex">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">出厂编号: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="factorynumber">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">产地/厂商: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="place">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">价格(万): </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="price">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">购置日期: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="purchasedatestring">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">存放房间: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="storageroom">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">责任人: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="responsible">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>


                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">设备状况: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="status">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">检定周期: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="cycle">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="layui-form-item" style="margin-bottom: 0px;">
                                            <div class="layui-col-lg12">
                                                <label class="layui-form-label" style="padding-right: 0px;">检定单位: </label>
                                                <div class="layui-input-block"
                                                     style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                    <div class="divhtml" style="text-indent:10px;" id="verificationunit">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md8" style="padding-bottom:0px;">
                                        <div class="layui-col-md12" style="padding-bottom:0px;">
                                            <div class="layui-col-md6" style="padding-bottom:0px;">
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label"
                                                               style="padding-right: 0px;">检定/校准有效日期: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;"
                                                                 id="calibrationdatestring">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">溯源方式: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="sourcemode">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">是否需要校准: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="calibration">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">计划检送日期: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;"
                                                                 id="submissiondatestring">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">责任科室: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;"
                                                                 id="responsibledep">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">缺少资料: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="lackmaterial">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">档号: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="reference">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">档案完整状态: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="completionstatus">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">分析项目: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="analysisproject">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-col-md6" style="padding-bottom:0px;">
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">仪器类型: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="type">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label"
                                                               style="padding-right: 0px;">检定/校准费用(元): </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="calibrationcost">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label"
                                                               style="padding-right: 0px;">估算仪器维护/维修(元): </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="computedvalue">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label"
                                                               style="padding-right: 0px;">估算仪器维护/维修/耗材(元): </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="computedvalues">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label"
                                                               style="padding-right: 0px;">每年维护费用(元): </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="maintenancecost">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">使用频率: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="usefrequency">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label" style="padding-right: 0px;">使用状态: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="usagestatus">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label"
                                                               style="padding-right: 0px;">仪器是否还存在: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="exist">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-form-item" style="margin-bottom: 0px;">
                                                    <div class="layui-col-lg12">
                                                        <label class="layui-form-label"
                                                               style="padding-right: 0px;">将来是否还使用: </label>
                                                        <div class="layui-input-block"
                                                             style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                            <div class="divhtml" style="text-indent:10px;" id="alsoused">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-md12" style="padding-bottom:0px;">
                                            <div class="layui-form-item" style="margin-bottom: 0px;">
                                                <div class="layui-col-lg12">
                                                    <label class="layui-form-label" style="padding-right: 0px;">停用原因:</label>
                                                    <div class="layui-input-block"
                                                         style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                        <div class="divhtml" id="stopusingreason"></div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item" style="margin-bottom: 0px;">
                                                <div class="layui-col-lg12">
                                                    <label class="layui-form-label" style="padding-right: 0px;">科室反馈意见:</label>
                                                    <div class="layui-input-block"
                                                         style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                        <div class="divhtml" id="feedback"></div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item" style="margin-bottom: 0px;">
                                                <div class="layui-col-lg12">
                                                    <label class="layui-form-label" style="padding-right: 0px;">其他需要说明的情况:</label>
                                                    <div class="layui-input-block"
                                                         style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                        <div class="divhtml" id="other"></div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item" style="margin-bottom: 0px;">
                                                <div class="layui-col-lg12">
                                                    <label class="layui-form-label" style="padding-right: 0px;">备注:</label>
                                                    <div class="layui-input-block"
                                                         style="margin-left:80px;border-bottom: 1px solid #D3CCCC;word-wrap:break-word;word-break:break-all;overflow: hidden;">
                                                        <div class="divhtml" id="remarks"></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-row layui-col-space8" id="doman4image">
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="<%=request.getContextPath()%>/huazhi/lib/layui-v2.5.5/layui.all.js"></script>
<script>
    function child(tid) {
        layui.use(['form', 'laydate', 'carousel'], function () {
            var $ = layui.$
                , form = layui.form
                , laydate = layui.laydate
                , layer = layui.layer,
                carousel = layui.carousel;

            //图片
            $.ajax({
                type: "post",
                url: "<%=request.getContextPath()%>/rest/equipment/getImage",
                data: "tid=" + tid,
                dataType: "json",
                async: false,
                success: function (data) {
                    for (var i = 0; i < data.length; i++) {
                        var images = '<div><img src="' + data[i].src + '" style="width:100%;height:100%;"/></div>';
                        $("#images").append(images)
                        var imageli = '<div class="layui-col-md1 layui-col-sm4"><img  src="' + data[i].src + '"  style="width:100%;height:100%;"/></div>'
                        $("#doman4image").append(imageli)
                    }
                }
            });

            //常规轮播
            carousel.render({
                elem: '#test10'
                , width: '100%'
                , height: '500px'
                , arrow: 'none'
                , indicator: 'inside'
                , anim: 'fade'
                , autoplay: 'true'
                , interval: '5000'
            });


            $.ajax({
                type: "post",
                url: "<%=request.getContextPath()%>/rest/equipment/getEquipmentByTid",
                data: "tid=" + tid,
                dataType: "json",
                async: false,
                success: function (data) {
                    $("#serialnumer").html(data.serialnumer);
                    $("#stationnumber").html(data.stationnumber);
                    $("#assetnumber").html(data.assetnumber);
                    $("#equipmentname").html(data.equipmentname);
                    $("#model").html(data.model);
                    $("#technicalindex").html(data.technicalindex);
                    $("#factorynumber").html(data.factorynumber);
                    $("#place").html(data.place);
                    $("#price").html(data.price);
                    $("#purchasedatestring").html(data.purchasedatestring);
                    $("#storageroom").html(data.storageroom);
                    $("#responsible").html(data.responsible);
                    $("#status").html(data.status);
                    $("#verificationunit").html(data.verificationunit);
                    $("#calibrationdatestring").html(data.calibrationdatestring);
                    $("#sourcemode").html(data.sourcemode);
                    $("#calibration").html(data.calibration);
                    $("#submissiondatestring").html(data.submissiondatestring);
                    $("#responsibledep").html(data.responsibledep);
                    $("#lackmaterial").html(data.lackmaterial);
                    $("#reference").html(data.reference);
                    $("#remarks").html(data.remarks);
                    $("#feedback").html(data.feedback);
                    $("#completionstatus").html(data.completionstatus);
                    $("#analysisproject").html(data.analysisproject);
                    $("#type").html(data.type);
                    $("#calibrationcost").html(data.calibrationcost);
                    $("#computedvalue").html(data.computedvalues);
                    $("#computedvalues").html(data.computedvalues);
                    $("#maintenancecost").html(data.maintenancecost);
                    $("#usefrequency").html(data.usefrequency);
                    $("#usagestatus").html(data.usagestatus);
                    $("#other").html(data.other);
                    $("#exist").html(data.exist);
                    $("#stopusingreason").html(data.stopusingreason);
                    $("#alsoused").html(data.alsoused);
                    $("#cycle").html(data.cycle);

                }
            });


        });
    }
</script>
</body>
</html>